package com.lee.lease.web.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lee.lease.model.entity.FacilityInfo;

import java.util.List;

/**
* @author liubo
* @description 针对表【facility_info(配套信息表)】的数据库操作Mapper
* @createDate 2023-07-24 15:48:00
* @Entity com.atguigu.lease.model.FacilityInfo
*/
public interface FacilityInfoMapper extends BaseMapper<FacilityInfo> {

    /**
     * 根据公寓id查询设施信息
     * @param id 公寓id
     * @return
     */
    List<FacilityInfo> selectByApartmentId(Long id);

    /**
     * 根据房间id查询设施信息
     * @param id 房间id
     * @return
     */
    List<FacilityInfo> selectByRoomId(Long id);
}




